from api.ihrm_login_api import IHRMLoginAPI

class TokenUtil:
    @classmethod
    def get_token(self):
        login_body ={"mobile":"13800000002","password":"123456"}
        resp = IHRMLoginAPI.login_api(login_body)
        token =resp.json().get("data")
        return token



if __name__ == '__main__':
    token = TokenUtil.get_token()
    print(token)
